package com.ys.entity.storage;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_FbaBoxUpPack", catalog="Id")
public class TccFbaBoxUpPack extends BaseEntity<TccFbaBoxUpPack> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="BoxUpBid", nameJava="boxUpBid", typeDataBase="varchar")
	private String boxUpBid;
	@YsField(nameDataBase="PackToken", nameJava="packToken", typeDataBase="varchar")
	private String packToken;
	@YsField(nameDataBase="PackId", nameJava="packId", typeDataBase="varchar")
	private String packId;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccFbaBoxUpPack setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBoxUpBid() {
		return boxUpBid;
	}
	public TccFbaBoxUpPack setBoxUpBid(String boxUpBid) {
		this.boxUpBid = boxUpBid;
		return this;
	}
	public String getPackToken() {
		return packToken;
	}
	public TccFbaBoxUpPack setPackToken(String packToken) {
		this.packToken = packToken;
		return this;
	}
	public String getPackId() {
		return packId;
	}
	public TccFbaBoxUpPack setPackId(String packId) {
		this.packId = packId;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccFbaBoxUpPack setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccFbaBoxUpPack setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccFbaBoxUpPack setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccFbaBoxUpPack tccFbaBoxUpPack(
		String boxUpBid,
		String packToken,
		String packId,
		Integer status
			) {
		TccFbaBoxUpPack entity = new TccFbaBoxUpPack();
		entity.setBoxUpBid(boxUpBid);
		entity.setPackToken(packToken);
		entity.setPackId(packId);
		entity.setStatus(status);
		return entity;
	}
}